Skip to content

Fix CAPI Machine name lookup, add Ready column, expand reconcile logging#62

Merged
ebourgeois merged 1 commit into
mainfrom
capi-machine-name
May 8, 2026
Merged

Fix CAPI Machine name lookup, add Ready column, expand reconcile logging#62
ebourgeois merged 1 commit into
mainfrom
capi-machine-name

Conversation

@ebourgeois

@ebourgeois ebourgeois commented May 8, 2026

Copy link
Copy Markdown
Collaborator

The reconciler had been constructing CAPI Machine names as {sm}-machine
in two lookup paths while the create path (add_machine_to_cluster) writes
the Machine with the bare SM name. Lookups silently 404'd in the field —
status enrichment and pre-drain node lookup never matched the real Machine.
Both call sites now use &name directly; the kind suffix is gone

…ing The reconciler had been constructing CAPI Machine names as `{sm}-machine` in two lookup paths while the create path (add_machine_to_cluster) writes the Machine with the bare SM name. Lookups silently 404'd in the field — status enrichment and pre-drain node lookup never matched the real Machine. Both call sites now use `&name` directly; the kind suffix is gone.

Signed-off-by: Erick Bourgeois <erick@jeb.ca>
@ebourgeois ebourgeois changed the title Fix CAPI Machine name lookup, add Ready column, expand reconcile logging The reconciler had been constructing CAPI Machine names as {sm}-machine in two lookup paths while the create path (add_machine_to_cluster) writes the Machine with the bare SM name. Lookups silently 404'd in the field — status enrichment and pre-drain node lookup never matched the real Machine. Both call sites now use &name directly; the kind suffix is gone. Fix CAPI Machine name lookup, add Ready column, expand reconcile logging May 8, 2026
@ebourgeois ebourgeois merged commit 56dd0a7 into main May 8, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants